import React from 'react'
import { Blaze } from 'meteor/blaze'
import { Template } from 'meteor/templating'
import ReactDOM from 'react-dom'
export default class AccountsUIWrapper extends React.Component {
    componentDidMount() {
        this.view = Blaze.render(Template.loginButtons, ReactDOM.findDOMNode(this.refs.container))
    }
    componentWillUnMount() {
        Blaze.remove(this.view)
    }
    render() {
        return <span ref='container' />
    }
}